from django.conf.urls import url
from .views import *


urlpatterns = [
    # 获取QQ登陆链接
    url(r'^qq/login/$', QQAuthURLView.as_view(), name='qqlogin'),

    # QQ认证
    url(r'^oauth_callback/$', QQAuthUserView.as_view()),

    # 微博认证
    url('^sina/login/$', OAuthSinaURLView.as_view()),

    # 微博回调
    url('^sina_callback/', SinaAuthUserView.as_view()),

]

